smpl 1 24
genr tren=@trend(1)+1
for !i=1 to 24
genr d{!i}=0
genr d{!i}= 1*(tren=!i)
next

